package com.ctshk.rpc.finance.req.supplier;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * 审批Req
 */
@Data
@ApiModel(value = "AprovalReq",description = "审批Req")
public class AprovalReq implements Serializable {

    @NotNull(message = "审批ID不能为空")
    @ApiModelProperty(value = "审批ID",required = true)
    private Long id;

    @NotNull(message = "操作类型不能为空")
    @ApiModelProperty(value = "操作类型(3 审批通过,4 审批拒绝)",required = true)
    private Integer type;

    @ApiModelProperty(value = "通过/拒绝 理由")
    private String comments;

    @ApiModelProperty(value = "用户")
    private Long userId;

}
